package messagesPacks;

import java.util.Date;

import messagesPacks.GenericMessage.msgType;

public class BookOrderMessage extends GenericMessage 
{
	private static final long serialVersionUID = 1L;
	
	private String subID;
	private String bookISBN;
	
	private int resultOforder ; 
	
	public BookOrderMessage()
	{
		this.type = msgType.OrderBookMSG;
		this.subID = "";
		this.bookISBN = "";
		this.resultOforder = -100 ; 
	}
	
	
	public BookOrderMessage(String subID,String bookISBN)
	{
		this.type = msgType.OrderBookMSG;
		this.subID = subID; 
		this.bookISBN = bookISBN;
	}
//===================================================================	
//                    Getters & Setters
//===================================================================
	public String getSubID()
	{
		return subID;
	}


	public void setSubID(String subID) 
	{
		this.subID = subID;
	}


	public String getBookISBN() 
	{
		return bookISBN;
	}


	public void setBookISBN(String bookISBN)
	{
		this.bookISBN = bookISBN;
	}


	public int getResultOforder()
	{
		return this.resultOforder;
	}


	public void setResultOforder(int resultOforder)
	{
		this.resultOforder = resultOforder;
	}


	
	
	
}
